home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / userbox / publicdomain / vim-4.2 / doc / vim_menu.txt < prev    next >
Text File  |  1996-05-29  |  2KB  |  70 lines

  1. " *vim_menu.txt*
  2. " These menu commands should recreate the default Vim menus.
  3. " You can use this as a start for your own set of menus.
  4. " The colons at the start of each line are just to indicate these are colon
  5. " commands, they could be omitted.
  6. " If the <Esc> and <CR> string appear literally in the output of ":menu", you
  7. " need to remove the '<' flag from 'cpoptions' |'cpoptions'|
  8.  
  9. " First remove any menus that are currently present
  10. :unmenu *
  11. :unmenu! *
  12.  
  13. " Help menu
  14. " Note that the help commands use <Esc> to leave Insert/Visual/Command-line
  15. " mode
  16. :nmenu Help.Overview\ \ <F1>    :help<CR>
  17. :vmenu Help.Overview\ \ <F1>    <Esc>:help<CR>
  18. :menu! Help.Overview\ \ <F1>    <Esc>:help<CR>
  19.  
  20. :nmenu Help.How\ to\.\.\.    :help how_to<CR>
  21. :vmenu Help.How\ to\.\.\.    <Esc>:help how_to<CR>
  22. :menu! Help.How\ to\.\.\.    <Esc>:help how_to<CR>
  23.  
  24. :nmenu Help.GUI            :help gui<CR>
  25. :vmenu Help.GUI            <Esc>:help gui<CR>
  26. :menu! Help.GUI            <Esc>:help gui<CR>
  27.  
  28. :nmenu Help.Version        :version<CR>
  29. :vmenu Help.Version        <Esc>:version<CR>
  30. :menu! Help.Version        <Esc>:version<CR>
  31.  
  32. :nmenu Help.Credits        :help credits<CR>
  33. :vmenu Help.Credits        <Esc>:help credits<CR>
  34. :menu! Help.Credits        <Esc>:help credits<CR>
  35.  
  36. :nmenu Help.Copying        :help uganda<CR>
  37. :vmenu Help.Copying        <Esc>:help uganda<CR>
  38. :menu! Help.Copying        <Esc>:help uganda<CR>
  39.  
  40. " File menu
  41. :nmenu File.Save\ \ \ \ \ \ \ :w    :w<CR>
  42. :imenu File.Save\ \ \ \ \ \ \ :w    <C-O>:w<CR>
  43.  
  44. :nmenu File.Close\ \ \ \ \ \ :q        :q<CR>
  45. :vmenu File.Close\ \ \ \ \ \ :q        <Esc>:q<CR>
  46. :menu! File.Close\ \ \ \ \ \ :q        <Esc>:q<CR>
  47.  
  48. :nmenu File.Quit\ \ \ \ \ \ \ :qa    :qa<CR>
  49. :vmenu File.Quit\ \ \ \ \ \ \ :qa    <Esc>:qa<CR>
  50. :menu! File.Quit\ \ \ \ \ \ \ :qa    <Esc>:qa<CR>
  51.  
  52. :nmenu File.Save-Quit\ \ :wqa        :wqa<CR>
  53. :vmenu File.Save-Quit\ \ :wqa        <Esc>:wqa<CR>
  54. :menu! File.Save-Quit\ \ :wqa        <Esc>:wqa<CR>
  55.  
  56. " Edit menu
  57. :nmenu Edit.Undo            u
  58. :nmenu Edit.Redo            <C-R>
  59.  
  60. :vmenu Edit.Cut                x
  61. :vmenu Edit.Copy            y
  62.  
  63. :nmenu Edit.Put\ Before            [p
  64. :imenu Edit.Put\ Before            <C-O>[p
  65. :nmenu Edit.Put\ After            ]p
  66. :imenu Edit.Put\ After            <C-O>]p
  67.  
  68. :nmenu Edit.Paste            i<C-R>*<Esc>
  69. :menu! Edit.Paste            <C-R>*
  70.